package com.mxchip.livestar.rest.log;

import java.util.List;

import io.reactivex.Observable;
import okhttp3.MultipartBody;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.Query;

public interface RetrofitApi {
    /**
     * 上传
     * Multipart 这个注解代表多表单上传
     * @param partList 表单信息
     * @return .
     */
    @Multipart
    @POST("upload_log.php")
    Observable<BaseEntity<BaseBean>> upLoading(@Query("filename") String filename,@Part List<MultipartBody.Part> partList);
}
